<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- BOOTSTRAP STYLES-->
    <link href="css/bootstrap.css" rel="stylesheet" />
    <!-- FONTAWESOME STYLES-->
    <link href="css/font-awesome.css" rel="stylesheet" />
       <!--CUSTOM BASIC STYLES-->
    <link href="css/basic.css" rel="stylesheet" />
    <!--CUSTOM MAIN STYLES-->
    <link href="css/customs.css" rel="stylesheet" />
    <!-- GOOGLE FONTS-->
    <link href='http://fonts.useso.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
<title>indexback</title>
</head>
<body>
 <div id="wrapper">
        <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin: 0;padding:0">
            <div class="navbar-header">
                <a class="navbar-brand" href="menu/recommand.do">客多多</a>
            </div>

            <div class="header-right">
                <a href="menu/recommand.do" class="btn btn-danger" title="Logout"><i class="fa fa-exclamation-circle fa-2x"></i></a>
            </div>
        </nav>
        <!-- /. NAV TOP  -->
        <nav class="navbar-default navbar-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">
                    <li>
                        <div class="user-img-div">
                            <img src="images/user.png" class="img-thumbnail" />

                            <div class="inner-text">
                            <big>管理员</big>
                            </div>
                        </div>

                    </li>
                    <li>
                        <a class="active-menu" href="menu/recommand.do" target="main">餐厅首页</a>                        
                    </li>
                    <li>
                        <a href="menu/manrestaurant.do" target="main">餐厅管理</a>           
                    </li>
                     <li>
                        <a href="menu/manmenu.do" target="main">菜品管理</a>
                    </li>
                    <li>
                        <a href="showstaff.do" target="main">员工管理</a>
                        
                    </li>
                     <li>
                        <a href="showbuyer.do" target="main">采购管理</a>
                    </li>  
                     <li>
                         <a href="orderAll.do" target="main">订单管理</a>
                    </li>  
                     <li>
                        <a href="review.do" target="main">评论管理</a>
                    </li> 
                     <li>
                        <a href="showCustom.do" target="main">用户管理</a>
                    </li> 
                </ul>

            </div>

        </nav>
        <!-- /. NAV SIDE  -->
        
    </div>
  <div id="page-wrapper">
            <div id="page-inner">           
 <iframe id="external-frame" allowtransparency="true" scrolling="no" onload="setIframeHeight(this)" name="main" width="100%" height="100%" margin="0" src="menu/recommand.do" frameborder="0"></iframe>
            </div>
        </div>
    <!-- JQUERY SCRIPTS -->
    <script type="text/javascript">
			function setIframeHeight(iframe) {
				if(iframe) {
					var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
					if(iframeWin.document.body) {
						iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;
					}
				}
			};

			window.onload = function() {
				setIframeHeight(document.getElementById('external-frame'));
			};

		</script>
    <script src="js/jquery-1.10.2.js"></script>
    <!-- BOOTSTRAP SCRIPTS -->
    <script src="js/bootstrap.js"></script>
    <!-- METISMENU SCRIPTS -->
    <script src="js/jquery.metisMenu.js"></script>
       <!-- CUSTOM SCRIPTS -->
    <script src="js/custom.js"></script>
</body>
</html>